| GUI Help > Special > getScrollbarThumbSize | ||||||||||||||
|
getScrollbarThumbSize |
||||||||||||||
| int size=getScrollbarThumbSize(handle gadget) | ||||||||||||||
|
Description: Retrieves the size of the thumb in a scrollbar. |
||||||||||||||
|
Return Value: Size of the thumb. This is not the physical size (in pixels), but the amount of the bar which the thumb covers. For example, if the range is 0 to 10, and the thumb size is 2, then the thumb covers a fifth of the bar. |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |